package lab02.test35;

public class Test35 {
    public static void main(String[] args) {
        Manager m = new Manager();
        m.age = 36;
        m.name = "刘总";
        m.salary = 6000;
        System.out.println("经理"+m.name+" "+m.age+" "+m.computerSalary());

        Salesman s = new Salesman();
        s.name = "大王";
        s.age = 28;
        s.num = 4000;
        s.salary = 2500;
        System.out.println("销售人员"+s.name+" "+s.age+" "+s.computerSalary());

        Worker w = new Worker();
        w.name = "小西";
        w.age = 30;
        w.days = 32;
        w.daySalary = 80;
        System.out.println("工人"+w.name+" "+w.age+" "+w.computerSalary());
    }
}
